package ${parentName}.${moduleName}.core.application.query;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import ${parentName}.${moduleName}.core.application.command.Query${tableName}PageCommand;
import ${parentName}.${moduleName}.core.application.command.Query${tableName}ByOneCommand;
import ${parentName}.${moduleName}.core.application.command.Query${tableName}ListCommand;
import ${parentName}.${moduleName}.core.domain.aggregatemodel.${tableName};
import java.util.List;

/**
 * ${tableComment}查询服务
 *
 * @author ${author}
 * @since ${date}
 */

public interface ${tableName}QueryService {

     Page<${tableName}> query${tableName}Page(Query${tableName}PageCommand query${tableName}PageCommand);

     ${tableName} query${tableName}ByOne(Query${tableName}ByOneCommand query${tableName}ByOneCommand);

     List<${tableName}> query${tableName}List(Query${tableName}ListCommand query${tableName}ListCommand);
}